package com.lun.blog.service.impl;

import com.lun.blog.pojo.TimeThing;
import com.lun.blog.repostory.TimeThingRepository;
import com.lun.blog.service.TimeThingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author fangLJ
 * @creatTime 2021/3/9
 */
@Service
public class TimeThingServiceImpl implements TimeThingService {

    @Autowired
    private TimeThingRepository timeThingRepository;

    @Override
    public List<TimeThing> findAll() {
        return timeThingRepository.findAll();
    }
}
